import { constantRoutes } from '@/router'
export default {
  namespaced: true,
  state: () => ({
    menuList: [...constantRoutes]
  }),
  mutations: {
    setMenuList(state, data) {
      state.menuList = [...constantRoutes, ...data]
    }
  }
}
